package models;

import java.util.List;
import javax.persistence.*;
import play.db.jpa.GenericModel;

@Entity
@Table(name="tracklist")
public class TrackList extends GenericModel {
	
	@Id
	public int id;
	
	@Column(name="track_count")
	public int trackCount;
	
	@OneToMany()
	@JoinColumn(name="tracklist")
	public List<Track> tracks;

}
